package com.fesine.ch02.StringAndSyn2;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/7/6 19:16
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/7/6 19:16
 */
public class ThreadA extends Thread {
    private Service service;

    public ThreadA(Service service) {
        super();
        this.service = service;
    }

    @Override
    public void run() {
        service.print(new Object());
    }
}
